﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace VietPremier.Models
{
    public class DestinationModel
    {
        public DestinationModel()
        {
            listDestinationStyle = new List<DestinationStyle>();
            listDestination = new List<Destination>();
        }
        public int IdCountry { get; set; }
        public string CountryName { get; set; }
        public int IdDestinationStyle { get; set; }
        public string DestinationStyleName { get; set; }
        public string CountryDescription { get; set; }
        public IEnumerable<DestinationStyle> listStyle { get; set; }
        public List<DestinationStyle> listDestinationStyle { get; set; }
        public List<Destination> listDestination { get; set; }
        //Phân trang cho trang tin tức
        public PagingInfo PagingInfo { get; set; }
        public string SearchItem { get; set; }

    }

    public class DestinationStyle
    {
        public DestinationStyle()
        {
            listDestinations = new List<Destination>();
        }
        public string CountryName { get; set; }
        public int IdDestinationStyle { get; set; }
        public string DestinationStyleName { get; set; }
        public int IdDestination { get; set; }
        public string DestinationName { get; set; }
        public string Price { get; set; }
        public string TripCode { get; set; }
        public string  Time { get; set; }
        public string Duration { get; set; }
        public string Image { get; set; }
        public string Meta_keyword { get; set; }
        public string Meta_description { get; set; }
        public string Titletag { get; set; }
        public IEnumerable<Destination> listDestination { get; set; }

        public List<Destination> listDestinations { get; set; }

    }

    public class Destination
    {
        public Destination()
        {
            destinationCountry = new DestinationCountry();
            destinationArea = new DestinationArea();
        }
        public DestinationCountry destinationCountry { get; set; }
        public DestinationArea destinationArea { get; set; }

        public int IdDestination { get; set; }
        public string DestinationName { get; set; }
        public string Image { get; set; }
        public string Price { get; set; }
        public string TripCode { get; set; }
        public string Time { get; set; }
        public string Duration { get; set; }
    }

    public class DestinationCountry
    {
        public DestinationCountry()
        {
            destinationArea = new DestinationArea();
        }
        public DestinationArea destinationArea { get; set; }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Image { get; set; }
        public string Description { get; set; }
        public string Body { get; set; }
    }

}